-- GENERATED SPELL FOR [Ravenclaw Raider] --


function spell0_1865(pUnit, Event) --@Cursed Blade,n/a--
pUnit:FullCastSpellOnTarget(5271,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1865', 20345, 1)
end

function Sorts_1865(pUnit, Event)
local choix_sorts_1865 = math.random(0, 0)
if choix_sorts_1865 == 0 then
pUnit:RegisterEvent('spell0_1865', 1, 1)
end
end

function mob1865_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1865', math.random(1500, 3000), 1)
end

function mob1865_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1865_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1865_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1865, 1, 'mob1865_Action')
RegisterUnitEvent(1865, 2, 'mob1865_Leave')
RegisterUnitEvent(1865, 3, 'mob1865_Kill')
RegisterUnitEvent(1865, 4, 'mob1865_Die')
